# !/usr/bin/python3
# -*- coding: utf-8 -*-

"""
角色和部门关联表模型类
----------------------------------------------------
@Project :   xinhou-openai-framework
@File    :   RoleDept.py
@Contact :   sp_hrz@qq.com

@Modify Time      @Author    @Version    @Desciption
------------      -------    --------    -----------
2023/04/16 22:04  peng.shen   v1.0.0     None
"""

from sqlalchemy import ForeignKey
from sqlalchemy import func

from sqlalchemy import Column, Integer, String, Text, Numeric, TIMESTAMP

from xinhou_openai_framework.core.orm.entity.BaseEntity import BaseEntity


class RoleDept(BaseEntity):
    # 数据表名&字段
    __tablename__ = 't_role_dept'

    role_id = Column(Integer, comment="角色ID")
    dept_id = Column(Integer, comment="部门ID")